const ARCHIVES = [
  {
    name: 'archives',
    path: '/archives',
    routes: [
      {
        path: '/archives/warehouse',
        component: './archives/warehouse',
      },
      {
        path: '/archives/number',
        component: './archives/number',
      },
      {
        path: '/archives/filing-cabinet',
        component: './archives/filing-cabinet',
      },
      {
        path: '/archives/category',
        component: './archives/category',
      },
      {
        path: '/archives/authorization',
        component: './archives/authorization'
      },
      {
        path: '/archives/archives-manage/list',
        component: './archives/archives-manage'
      },
      {
        path: '/archives/archives-manage/create',
        component: './archives/archives-manage/create'
      },
      {
        path: '/archives/archives-manage/edit/:code',
        component: './archives/archives-manage/edit'
      },
      {
        path: '/archives/archives-manage/detail/:code/:type/:boxCode',
        component: './archives/archives-manage/detail'
      },
      {
        path: '/archives/file-box/list',
        component: './archives/file-box'
      },
      {
        path: '/archives/file-box/create',
        component: './archives/file-box/create'
      },
      {
        path: '/archives/file-box/edit/:id',
        component: './archives/file-box/edit'
      },
      {
        path: '/archives/file-box/detail/:id',
        component: './archives/file-box/detail'
      },
      {
        path: '/archives/cabinet',
        component: './archives/cabinet'
      },
      {
        path: '/archives/borrow-list',
        component: './archives/borrow-manage/borrow-list'
      },
      {
        path: '/archives/my-borrow',
        component: './archives/borrow-manage/my-borrow-list'
      },
      {
        path: '/archives/archive-manage/list',
        component: './archives/archive-manage'
      },
      // {
      //   path: '/archives/archive-manage/detail/:arcvCode',
      //   component: './archives/archive-manage/detail'
      // },
      {
        path: '/archives/file-box-print',
        component: './archives/file-box-print'
      }
    ],
  },
];

export default ARCHIVES;
